3.2.11 \(\int \frac {x (a+b \text {sech}^{-1}(c x))}{d+e x^2} \, dx\) [111]

Optimal. Leaf size=459 \[ -\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{b e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )}{e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )}{2 e}+\frac {b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e} \]

[Out]

-(a+b*arcsech(c*x))^2/b/e-(a+b*arcsech(c*x))*ln(1+1/(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))^2)/e+1/2*(a+b*arc
sech(c*x))*ln(1-c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^(1/2)-(c^2*d+e)^(1/2)))/e+1/2*(a+b*ar
csech(c*x))*ln(1+c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^(1/2)-(c^2*d+e)^(1/2)))/e+1/2*(a+b*a
rcsech(c*x))*ln(1-c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*d+e)^(1/2)))/e+1/2*(a+b*
arcsech(c*x))*ln(1+c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*d+e)^(1/2)))/e+1/2*b*po
lylog(2,-1/(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))^2)/e+1/2*b*polylog(2,-c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^
(1/2))*(-d)^(1/2)/(e^(1/2)-(c^2*d+e)^(1/2)))/e+1/2*b*polylog(2,c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)
^(1/2)/(e^(1/2)-(c^2*d+e)^(1/2)))/e+1/2*b*polylog(2,-c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^
(1/2)+(c^2*d+e)^(1/2)))/e+1/2*b*polylog(2,c*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))*(-d)^(1/2)/(e^(1/2)+(c^2*
d+e)^(1/2)))/e

________________________________________________________________________________________

Rubi [A]
time = 0.89, antiderivative size = 459, normalized size of antiderivative = 1.00, number of steps used = 26, number of rules used = 9, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.474, Rules used = {6438, 5959, 5882, 3799, 2221, 2317, 2438, 5962, 5681} \begin {gather*} \frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}+1\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}+1\right )}{2 e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{b e}-\frac {\log \left (e^{-2 \text {sech}^{-1}(c x)}+1\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{e}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (-e^{-2 \text {sech}^{-1}(c x)}\right )}{2 e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x*(a + b*ArcSech[c*x]))/(d + e*x^2),x]

[Out]

-((a + b*ArcSech[c*x])^2/(b*e)) - ((a + b*ArcSech[c*x])*Log[1 + E^(-2*ArcSech[c*x])])/e + ((a + b*ArcSech[c*x]
)*Log[1 - (c*Sqrt[-d]*E^ArcSech[c*x])/(Sqrt[e] - Sqrt[c^2*d + e])])/(2*e) + ((a + b*ArcSech[c*x])*Log[1 + (c*S
qrt[-d]*E^ArcSech[c*x])/(Sqrt[e] - Sqrt[c^2*d + e])])/(2*e) + ((a + b*ArcSech[c*x])*Log[1 - (c*Sqrt[-d]*E^ArcS
ech[c*x])/(Sqrt[e] + Sqrt[c^2*d + e])])/(2*e) + ((a + b*ArcSech[c*x])*Log[1 + (c*Sqrt[-d]*E^ArcSech[c*x])/(Sqr
t[e] + Sqrt[c^2*d + e])])/(2*e) + (b*PolyLog[2, -E^(-2*ArcSech[c*x])])/(2*e) + (b*PolyLog[2, -((c*Sqrt[-d]*E^A
rcSech[c*x])/(Sqrt[e] - Sqrt[c^2*d + e]))])/(2*e) + (b*PolyLog[2, (c*Sqrt[-d]*E^ArcSech[c*x])/(Sqrt[e] - Sqrt[
c^2*d + e])])/(2*e) + (b*PolyLog[2, -((c*Sqrt[-d]*E^ArcSech[c*x])/(Sqrt[e] + Sqrt[c^2*d + e]))])/(2*e) + (b*Po
lyLog[2, (c*Sqrt[-d]*E^ArcSech[c*x])/(Sqrt[e] + Sqrt[c^2*d + e])])/(2*e)

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 3799

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + (Complex[0, fz_])*(f_.)*(x_)], x_Symbol] :> Simp[(-I)*((c + d*x)^(m
 + 1)/(d*(m + 1))), x] + Dist[2*I, Int[(c + d*x)^m*(E^(2*((-I)*e + f*fz*x))/(1 + E^(2*((-I)*e + f*fz*x)))), x]
, x] /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]

Rule 5681

Int[(((e_.) + (f_.)*(x_))^(m_.)*Sinh[(c_.) + (d_.)*(x_)])/(Cosh[(c_.) + (d_.)*(x_)]*(b_.) + (a_)), x_Symbol] :
> Simp[-(e + f*x)^(m + 1)/(b*f*(m + 1)), x] + (Int[(e + f*x)^m*(E^(c + d*x)/(a - Rt[a^2 - b^2, 2] + b*E^(c + d
*x))), x] + Int[(e + f*x)^m*(E^(c + d*x)/(a + Rt[a^2 - b^2, 2] + b*E^(c + d*x))), x]) /; FreeQ[{a, b, c, d, e,
 f}, x] && IGtQ[m, 0] && NeQ[a^2 - b^2, 0]

Rule 5882

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/(x_), x_Symbol] :> Dist[1/b, Subst[Int[x^n*Tanh[-a/b + x/b], x],
 x, a + b*ArcCosh[c*x]], x] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0]

Rule 5959

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Int
[ExpandIntegrand[(a + b*ArcCosh[c*x])^n, (f*x)^m*(d + e*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[
c^2*d + e, 0] && IGtQ[n, 0] && IntegerQ[p] && IntegerQ[m]

Rule 5962

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_.) + (e_.)*(x_)), x_Symbol] :> Subst[Int[(a + b*x)^n*(Sinh[x
]/(c*d + e*Cosh[x])), x], x, ArcCosh[c*x]] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[n, 0]

Rule 6438

Int[((a_.) + ArcSech[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_.) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> -Subst[Int
[(e + d*x^2)^p*((a + b*ArcCosh[x/c])^n/x^(m + 2*(p + 1))), x], x, 1/x] /; FreeQ[{a, b, c, d, e, n}, x] && IGtQ
[n, 0] && IntegersQ[m, p]

Rubi steps

\begin {align*} \int \frac {x \left (a+b \text {sech}^{-1}(c x)\right )}{d+e x^2} \, dx &=-\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{x \left (e+d x^2\right )} \, dx,x,\frac {1}{x}\right )\\ &=-\text {Subst}\left (\int \left (\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{e x}-\frac {d x \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{e \left (e+d x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )\\ &=-\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{x} \, dx,x,\frac {1}{x}\right )}{e}+\frac {d \text {Subst}\left (\int \frac {x \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )}{e}\\ &=-\frac {\text {Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\text {sech}^{-1}(c x)\right )}{e}+\frac {d \text {Subst}\left (\int \left (-\frac {\sqrt {-d} \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{2 d \left (\sqrt {e}-\sqrt {-d} x\right )}+\frac {\sqrt {-d} \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{2 d \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{e}\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b e}-\frac {2 \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\text {sech}^{-1}(c x)\right )}{e}-\frac {\sqrt {-d} \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 e}+\frac {\sqrt {-d} \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 e}\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )}{e}+\frac {b \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{e}-\frac {\sqrt {-d} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}+\frac {\sqrt {-d} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}\\ &=-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )}{e}+\frac {b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {sech}^{-1}(c x)}\right )}{2 e}-\frac {\sqrt {-d} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}-\frac {\sqrt {-d} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}+\frac {\sqrt {-d} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}+\frac {\sqrt {-d} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )}{e}-\frac {b \text {Li}_2\left (-e^{2 \text {sech}^{-1}(c x)}\right )}{2 e}-\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}-\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 e}\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )}{e}-\frac {b \text {Li}_2\left (-e^{2 \text {sech}^{-1}(c x)}\right )}{2 e}-\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 e}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 e}-\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 e}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 e}\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )}{e}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}+\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 e}-\frac {b \text {Li}_2\left (-e^{2 \text {sech}^{-1}(c x)}\right )}{2 e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 0.28, size = 860, normalized size = 1.87 \begin {gather*} \frac {4 i b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \tanh ^{-1}\left (\frac {\left (-i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )+4 i b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \tanh ^{-1}\left (\frac {\left (i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )-2 b \text {sech}^{-1}(c x) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )+b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-2 i b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-2 i b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+b \text {sech}^{-1}(c x) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+2 i b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+2 i b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+a \log \left (d+e x^2\right )+b \text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )-b \text {PolyLog}\left (2,-\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-b \text {PolyLog}\left (2,\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-b \text {PolyLog}\left (2,-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-b \text {PolyLog}\left (2,\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{2 e} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x*(a + b*ArcSech[c*x]))/(d + e*x^2),x]

[Out]

((4*I)*b*ArcSin[Sqrt[1 - (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*ArcTanh[(((-I)*c*Sqrt[d] + Sqrt[e])*Tanh[ArcSech[c*
x]/2])/Sqrt[c^2*d + e]] + (4*I)*b*ArcSin[Sqrt[1 + (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*ArcTanh[((I*c*Sqrt[d] + Sq
rt[e])*Tanh[ArcSech[c*x]/2])/Sqrt[c^2*d + e]] - 2*b*ArcSech[c*x]*Log[1 + E^(-2*ArcSech[c*x])] + b*ArcSech[c*x]
*Log[1 + (I*(Sqrt[e] - Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] - (2*I)*b*ArcSin[Sqrt[1 + (I*Sqrt[e])/(c*
Sqrt[d])]/Sqrt[2]]*Log[1 + (I*(Sqrt[e] - Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + b*ArcSech[c*x]*Log[1
+ (I*(-Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] - (2*I)*b*ArcSin[Sqrt[1 - (I*Sqrt[e])/(c*Sqrt[d
])]/Sqrt[2]]*Log[1 + (I*(-Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + b*ArcSech[c*x]*Log[1 - (I*
(Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + (2*I)*b*ArcSin[Sqrt[1 - (I*Sqrt[e])/(c*Sqrt[d])]/Sq
rt[2]]*Log[1 - (I*(Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + b*ArcSech[c*x]*Log[1 + (I*(Sqrt[e
] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + (2*I)*b*ArcSin[Sqrt[1 + (I*Sqrt[e])/(c*Sqrt[d])]/Sqrt[2]]*
Log[1 + (I*(Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] + a*Log[d + e*x^2] + b*PolyLog[2, -E^(-2*A
rcSech[c*x])] - b*PolyLog[2, ((-I)*(-Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] - b*PolyLog[2, (I
*(-Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])] - b*PolyLog[2, ((-I)*(Sqrt[e] + Sqrt[c^2*d + e]))/(
c*Sqrt[d]*E^ArcSech[c*x])] - b*PolyLog[2, (I*(Sqrt[e] + Sqrt[c^2*d + e]))/(c*Sqrt[d]*E^ArcSech[c*x])])/(2*e)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.70, size = 535, normalized size = 1.17

method result size
derivativedivides \(\frac {\frac {a \,c^{2} \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 e}-\frac {b \,c^{2} \mathrm {arcsech}\left (c x \right ) \ln \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \mathrm {arcsech}\left (c x \right ) \ln \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \dilog \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \dilog \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}+\frac {b \,c^{4} \left (\munderset {\textit {\_R1} =\RootOf \left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}+1\right ) \left (\mathrm {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right ) d}{4 e}+\frac {b \,c^{2} \left (\munderset {\textit {\_R1} =\RootOf \left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d +c^{2} d +4 e \right ) \left (\mathrm {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{4 e}}{c^{2}}\) \(535\)
default \(\frac {\frac {a \,c^{2} \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 e}-\frac {b \,c^{2} \mathrm {arcsech}\left (c x \right ) \ln \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \mathrm {arcsech}\left (c x \right ) \ln \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \dilog \left (1+i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}-\frac {b \,c^{2} \dilog \left (1-i \left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )\right )}{e}+\frac {b \,c^{4} \left (\munderset {\textit {\_R1} =\RootOf \left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2}+1\right ) \left (\mathrm {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right ) d}{4 e}+\frac {b \,c^{2} \left (\munderset {\textit {\_R1} =\RootOf \left (c^{2} d \,\textit {\_Z}^{4}+\left (2 c^{2} d +4 e \right ) \textit {\_Z}^{2}+c^{2} d \right )}{\sum }\frac {\left (\textit {\_R1}^{2} c^{2} d +c^{2} d +4 e \right ) \left (\mathrm {arcsech}\left (c x \right ) \ln \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -\frac {1}{c x}-\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}}{\textit {\_R1}}\right )\right )}{\textit {\_R1}^{2} c^{2} d +c^{2} d +2 e}\right )}{4 e}}{c^{2}}\) \(535\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a+b*arcsech(c*x))/(e*x^2+d),x,method=_RETURNVERBOSE)

[Out]

1/c^2*(1/2*a*c^2/e*ln(c^2*e*x^2+c^2*d)-b*c^2/e*arcsech(c*x)*ln(1+I*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2)))-b
*c^2/e*arcsech(c*x)*ln(1-I*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2)))-b*c^2/e*dilog(1+I*(1/c/x+(-1+1/c/x)^(1/2)
*(1+1/c/x)^(1/2)))-b*c^2/e*dilog(1-I*(1/c/x+(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2)))+1/4*b*c^4*sum((_R1^2+1)/(_R1^2*
c^2*d+c^2*d+2*e)*(arcsech(c*x)*ln((_R1-1/c/x-(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))/_R1)+dilog((_R1-1/c/x-(-1+1/c/x
)^(1/2)*(1+1/c/x)^(1/2))/_R1)),_R1=RootOf(c^2*d*_Z^4+(2*c^2*d+4*e)*_Z^2+c^2*d))*d/e+1/4*b*c^2*sum((_R1^2*c^2*d
+c^2*d+4*e)/(_R1^2*c^2*d+c^2*d+2*e)*(arcsech(c*x)*ln((_R1-1/c/x-(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))/_R1)+dilog((
_R1-1/c/x-(-1+1/c/x)^(1/2)*(1+1/c/x)^(1/2))/_R1)),_R1=RootOf(c^2*d*_Z^4+(2*c^2*d+4*e)*_Z^2+c^2*d))/e)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*arcsech(c*x))/(e*x^2+d),x, algorithm="maxima")

[Out]

1/2*a*e^(-1)*log(x^2*e + d) + b*integrate(x*log(sqrt(1/(c*x) + 1)*sqrt(1/(c*x) - 1) + 1/(c*x))/(x^2*e + d), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*arcsech(c*x))/(e*x^2+d),x, algorithm="fricas")

[Out]

integral((b*x*arcsech(c*x) + a*x)/(x^2*e + d), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (a + b \operatorname {asech}{\left (c x \right )}\right )}{d + e x^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*asech(c*x))/(e*x**2+d),x)

[Out]

Integral(x*(a + b*asech(c*x))/(d + e*x**2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*arcsech(c*x))/(e*x^2+d),x, algorithm="giac")

[Out]

integrate((b*arcsech(c*x) + a)*x/(e*x^2 + d), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}{e\,x^2+d} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(a + b*acosh(1/(c*x))))/(d + e*x^2),x)

[Out]

int((x*(a + b*acosh(1/(c*x))))/(d + e*x^2), x)

________________________________________________________________________________________